layui.define(['BaseApi'], function (exports) {
	var module = 'user',
		pathPrefix = '/user/',
		BaseApi = layui.BaseApi;

	function UserApi(module, pathPrefix) {
		BaseApi.apply(this, arguments);
		Object.assign(this.api, {
			getCurrentUserInfo: this.prefix + 'getCurrentUserInfo',
			disable: this.prefix + 'disable',
			resetPwd: this.prefix + 'resetPwd',
		})
	}

	exports('apiUser', new UserApi(module, pathPrefix));
})
